import DvaIndex from "DvaCommon";

const config = {
    name: 'VisitUserService',
    serviceName: 'ApiService',
    actionList: [
        { ...post('getUserInfo', 'VisitUser2/GetUserInfo', 'getUserInfo'), isAppToken: true },
    ]
};

function post(actionName, url, stateName, dataKey) {
    return { actionName, url, method: "POST", stateName, dataKey };
}

export default DvaIndex(config);